/**
 * 
 */
package geometry;

/**
 * @author Pratik Bhavsar, Fabrice Reynaud.
 * 
 */
public class ColorPoint extends Point {

	String color;

	public ColorPoint(String name, double x, double y, String color) {
		super(name, x, y);
		this.color = color;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	@Override
	public String toString() {
		return color + " Point(" + x + "," + y + ")";
	}
}
